import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import CfgApplicationResponse from '@/core/config/generated/types/model/response/CfgApplicationResponse'
import configAdminApiConfig from '@/core/config/generated/apiconfig/configAdminApiConfig'

const moduleApiConfig = configAdminApiConfig.cfgApplication

class CfgApplicationAdminServerApi extends BaseAdminServerApi<string, CfgApplicationResponse> {}

const adminServerApi = new CfgApplicationAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
